﻿<%@ Page Language="C#" MasterPageFile="~/WebManager/manager.Master" AutoEventWireup="true" CodeBehind="List.aspx.cs" Inherits="BaoJian.WebManager.Manager.VIP.List" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
 <div>
            <div align="right">
                &nbsp;<asp:Button ID="New" runat="server" Text="新建" OnClick="New_Click" />&nbsp;&nbsp;&nbsp;
                <asp:Button ID="Edit" runat="server" Text="编辑" OnClick="Edit_Click"  />&nbsp;&nbsp;&nbsp;
                <asp:Button ID="Delete" runat="server" Text="删除" OnClick="Delete_Click"  />&nbsp;&nbsp;&nbsp;
            </div>
             <div>  
                <asp:Label ID="Msg" runat="server"></asp:Label></div>
            <div>
                <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" BorderStyle="None"
                    BorderWidth="1px" BorderColor="#CCCCCC" BackColor="White" CellPadding="3" Width="100%">
                    <HeaderStyle Font-Size="9pt" Font-Names="宋体" Font-Bold="True" ForeColor="Black" BackColor="SkyBlue">
                    </HeaderStyle>
                    <SelectedRowStyle Font-Bold="True" ForeColor="White" BackColor="#669999"></SelectedRowStyle>
                    <RowStyle forecolor="Black" backcolor="White"></RowStyle>
                    <Columns>
                        <asp:BoundField DataField="SID" HeaderText="序号" ReadOnly="True"  />
                        <asp:BoundField DataField="Name" HeaderText="名称" ReadOnly="True"  />   
                        <asp:BoundField DataField="Tel" HeaderText="电话" ReadOnly="True"  />                           
                        <asp:BoundField DataField="Address" HeaderText="地址" ReadOnly="True"  />                       
                        <asp:TemplateField HeaderText="选择">
                            <ItemTemplate>
                                    <input type="checkbox" id="selectCB" name="selectCB" value="<%# DataBinder.Eval(Container.DataItem,"OID")%>">
                            </ItemTemplate>
                        </asp:TemplateField>
                    </Columns>
                </asp:GridView>
            </div>
        </div>
</asp:Content>
